package com.xiao.sulingproduct;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 13221
 * @EnableDiscoveryClient 开启注册中心
 * @EnableFeignClients 开启openfeign
 */
@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.xiao.sulingproduct.fegin")
@EnableDiscoveryClient
@SpringBootApplication
public class SulingProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(SulingProductApplication.class, args);
    }

}
